<?php
/**
 * Created by PhpStorm.
 * User: 65736
 * Date: 2019/4/7 0007
 * Time: 18:02
 */

namespace app\common\service\search;


use app\common\library\CommonFun;
use think\Request;

class ModelSearch
{

    /**
     * @var Request
     */
    var $request ;

    /**
     * @var array
     */
    var $param ;

    /**
     * ModelSearch constructor.
     */
    public function __construct()
    {
        // 初始化请求
        $this->request = Request::instance();
    }

    /**
     * 返回单例模型
     * @return static
     */
    public static function getInstance()
    {
        $param = func_get_args();
        return CommonFun::get_instance_of(get_called_class(), '', $param);
    }

    /**
     * 解析GET提交的搜索参数
     */
    public function parseGetSearch() {}

    /**
     * 解析POST提交的搜索参数
     */
    public function parsePostSearch() {}





}